package bean;

public class Cart {
	private int id;
	private String pfilename;
	private String pname;
	private double pvalue;
	private int num;
	private int pnum;
	private String uid;
	private int pid;
	private int flag;
	
	public Cart(int id, String pfilename, String pname, double pvalue, int num, int pnum, String uid, int pid,
			int flag) {
		super();
		this.id = id;
		this.pfilename = pfilename;
		this.pname = pname;
		this.pvalue = pvalue;
		this.num = num;
		this.pnum = pnum;
		this.uid = uid;
		this.pid = pid;
		this.flag = flag;
	}
	
	public Cart() {}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPfilename() {
		return pfilename;
	}

	public void setPfilename(String pfilename) {
		this.pfilename = pfilename;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public double getPvalue() {
		return pvalue;
	}

	public void setPvalue(double pvalue) {
		this.pvalue = pvalue;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getPnum() {
		return pnum;
	}

	public void setPnum(int pnum) {
		this.pnum = pnum;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}
	
	
}
